WIP: classic nimble handling of nodes as chars#21
Conversation
getNodes, getParents, getDeps.
convert to nodeChars, then get sortID by converting to calcRanges, then converting to scalar components via varRange, if needed.
|
I've added There may be corner cases that make backwards compatibility hard, but not fully sure yet. Also, I still need to consider issue #20 to work through the extent to which nimbleModel may give results in a different order than nimble, in particular in the case of ties and how much we can alleviate that. I still need to add formal tests (a sketch of some test cases is in |
This leverages existing machinery in nodeRanges and varRanges to return character vectors of nodes from
getNodes,getParents,getDependencies.To do:
getNodeNamesandexpandNodeNamesfor backwards compatibility